﻿using System.Transactions;

namespace Fancyx.EfCore
{
    public interface IUnitOfWorkManager
    {
        Task<IUnitOfWork> BeginAsync(IsolationLevel isolationLevel = IsolationLevel.ReadCommitted);

        Task<int> SaveChangeAsync();
    }
}